﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HomeWork1
{
    internal class Program
    {
        static void Main(string[] args)
        {
            string a=Console.ReadLine();
            string b=Console.ReadLine();
            string op= Console.ReadLine();
            int a1 = int.Parse(a);
            int b1 = int.Parse(b);
            switch (op)
            {
                case "+":
                    Console.WriteLine(a1 + b1);
                    break;
                case "-":
                    Console.WriteLine(a1 - b1);
                    break;
                case "*":
                    Console.WriteLine(a1 * b1);
                    break;
                case "/":
                    Console.WriteLine(a1 / b1);
                    break;
                case "%":
                    Console.WriteLine(a1 % b1);
                    break;
                default:break;
            }
            Console.ReadKey();
        }
    }
}
